package com.situ.crm.service;

import java.util.Set;

import com.situ.crm.common.ServerResponse;
import com.situ.crm.entity.Role;

public interface IRoleService {

	ServerResponse pageList(Integer page,Integer limit);
	
	ServerResponse selectAllRoles();
	
	ServerResponse insert(Role role,String permissions);
	
	Role selectById(Integer roleId);
	
	ServerResponse selectRoleAndPermissions(Integer roleId);
	
	ServerResponse update(Role role,String permissions);
}
